package com.example.yuejian23.yuejian_23.service;

import com.example.yuejian23.yuejian_23.javaBean.BisaiBean;
import com.example.yuejian23.yuejian_23.javaBean.DashiBean;
import com.example.yuejian23.yuejian_23.javaBean.HuodongBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by dong on 2017/10/15.
 */

public interface HomeService {
    @GET("Act/actlist")
    Call<List<HuodongBean>> getList();

    @GET("Act/simpact")
    Call<HuodongBean> getxiang(
            @Query("actid") String actid
    );

    @GET("Game/gamelist")
    Call<List<BisaiBean>> getsList();

    @GET("Game/gamedetail")
    Call<BisaiBean> getxiangs(
            @Query("gid") String gid
    );

    @GET("Mm/mmlist")
    Call<List<DashiBean>> getLists();

    @GET("Mm/mmdetil")
    Call<DashiBean> getxiangss(
            @Query("mid") String mid
    );

}
